package com.inspur.cmis.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.cmis.mapper.CMassMapper;
import com.inspur.cmis.pojo.CMass;
import com.inspur.cmis.pojo.CMassExt;
import com.inspur.cmis.service.CMassService;
@Service
public class CMassServiceImpl implements CMassService {
	@Autowired
	private CMassMapper cMassMapper;
	@Override
	public List<CMassExt> getCMassList(Map map) {
		// TODO Auto-generated method stub
		return cMassMapper.getCMassList(map);
	}

	@Override
	public CMass getCMass(Map map) {
		// TODO Auto-generated method stub
		return cMassMapper.getCMass(map);
	}

	@Override
	public int addCMass(CMass CMass) {
		// TODO Auto-generated method stub
		return cMassMapper.addCMass(CMass);
	}

	@Override
	public int updateCMass(CMass CMass) {
		// TODO Auto-generated method stub
		return cMassMapper.updateCMass(CMass);
	}

	@Override
	public int deleteCMass(String[] whkeys) {
		// TODO Auto-generated method stub
		return cMassMapper.deleteCMass(whkeys);
	}

}
